package com.xlh.param.conclude;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * @author sy
 */
@Data
@Accessors(chain = true)
public class ConcludeCourseAddParam {

    @ApiModelProperty("主键值")
    private Long Id;

    @NotNull(message = "目标ID不能为空")
    @ApiModelProperty("目标ID")
    private Long concludeId;

    @ApiModelProperty("排序")
    private Integer order;

    @NotNull(message = "课程目标详情不能为空")
    @ApiModelProperty("课程目标详情")
    @Length(min=1,max=500)
    private String details;

}
